home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000 #2
/
Ham Radio 2000 - Volume 2.iso
/
HAMV2
/
HF
/
DXH52ENG
/
TIMER.TXT
< prev
next >
Wrap
Text File
|
1997-01-04
|
7KB
|
190 lines
THE TIMER PROGRAM.
With the TIMER.EXE application, you can program DXHUNT's automatic
connections and disconnections to the DX CLUSTER, on one or more
sessions; sessions can be contiguous or disjuncted; for each session
you can enable/disable the alert and enable/disable the filter on
distant spots (see DXMAP.TXT for info about this filter).
In a few words, you can program DXHUNT in a similar way to your Video
Tape Recorder !!!.
If you type TIMER with no options, at the DOS prompt, you'll get a
quick screen summary describing various options and samples.
If your needs result in forming a rather complex TIMER command string,
you can create a batch file containing that command string.
OPTIONS. There are only two options: /T and /M and two commands: -A
and -F. The /T option specifies the local (non UTC) start time (range
00:00 23:59), while /M specifies the session duration in minutes (max
1439).
If you specify just /T, without /M, the session duration is assumed to
be unlimited; if you specify just /M without /T, the session is
started immediately, for the number of minutes specified in /M.
You can't omit both /T and /M options.
You can combine both options with the -A or -F commands; -A means
means disable alert, -F means disable distant spot filter. If -A is
omitted the alert function is enabled by default; if -F is omitted the
distant spot filter is enabled by default if any country has been
declared as distant in DXMAP (see DXMAP.TXT), otherwise this filter is
always disabled.
You must respect a certain syntax to express your commands, or they
will be misinterpreted.
Here you have some correct samples with their meanings.
TIMER /T-A23:30 (start DXHUNT at 23:30, disabling alert, for unlimited
time).
TIMER /T-F00:00 (start DXHUNT at 00:00, disabling filter, for
unlimited time).
TIMER /M120 (start DXHUNT now, enabling alert and filter, for 2
hours).
Here you have some wrong samples:
TIMER /T-A11:30pm (wrong: "pm" is not allowed, use 23:30).
TIMER /T-F24:00 (wrong: 24:00 is not allowed, use 00:00).
TIMER /M1440 (wrong: maximum value for /M is 1439).
So the correct syntax is TIMER [/T[-A][-F]hh:mm] [/M[-A][-F]mmmm].
If you respect this syntax, your commands will be correctly
interpreted.
The commands showed above describe a single session, but you can
define up to 8 different sessions (contiguous and/or disjuncted) into
a single command line.
Two sessions are contiguous when one starts immediately after the
other, with no discontinuity, otherwise they are disjuncted.
When passing from one session to a contiguous one, no automatic
disconnection is performed; if the session are disjuncted in time,
DXHUNT automatically disconnects and connects at the stated times.
TIMER.TXT page 1
To specify more sessions, just repeat /T and /M options in a single
command line.
Examples:
TIMER /T06:00 /M180 /T13:00 /M120 (this command means start a
connection at 6 am, keep working for 3 hours till 9 am then
disconnect; start a new connection at 1pm and keep working for 2 hours
till 3pm, then disconnect and wait the next day, till 6am, to start a
new connection...).
TIMER /T06:00 /M180 /T-A13:00 /M120 (as above, but disabling alert
between 1 pm and 3 pm).
TIMER /T06:00 /M60 /T-A07:00 /M60 (start DXHUNT at 6 am, disable alert
at 7 am and disconnect at 8 am; no disconnection is performed at 7:
the two sessions are contiguous).
After these samples, I hope everything is clear.
Maybe just an aspect is not (yet) clear: a command line is based on a
24 hours cycle, at any time it's executed; in the last sample if the
command is executed at 6:30 am, DXHUNT is started immediately; if
executed at 5:30 am, TIMER keeps the control till 6:00 am, when DXHUNT
is started; after 8:00 am, the control comes back to TIMER and is kept
till 6:00 am of the next day; of course you can break this chain, by
quitting TIMER with Esc, or quitting DXHUNT with Alt-X.
You see: between two disjuncted sessions DXHUNT disconnects and the
control comes back to TIMER, but you can specify contiguous sessions
for a 24h range, so that control never comes back to timer:
TIMER /T08:40 /M560 /T-A18:00 /M880
If you execute such a command at any time, DXHUNT will immediately
take the control; the alert will be automatically enabled between
08:40 am and 6:00 pm, disabled for the remaining period, and TIMER
will never regain the control.
Such a command type is useful if placed at the end of the AUTOEXEC.BAT
file, to fight blackouts.
Example:
place the following two lines at the end of AUTOEXEC.BAT
CD \DXHUNTER
TIMER /T08:40 /M560 /T-A18:00 /M880
If you switch your PC off and on, at any time, or if a blackout
occurs, DXHUNT will be automatically restarted with in built automatic
connection to DX CLUSTER, and the alert will be enabled 08:40 am and
06:00 pm, otherwise disabled...your presence is not needed.
*Note: when DXHUNT is started by TIMER, the TNC serial buffer is
flushed and any pending data destroyed; in addition the Night Mode is
automatically activated (screen is blanked automatically after a
certain inactivity period) and the NOHERE status is automatically set
(the automatic talk reply function is performed, if enabled). You can
toggle the Night mode on and off and your status to HERE /NOHERE, from
DXHUNT at run time, with Alt-N and Alt-Z.
TIMER.TXT page 2
*Note: TIMER starts DXHUNT in MONITOR MODE (no automatic connection)
when the monitor disk is detected.
*Note: to fight blackouts, with the monitor disk inserted, you must
transform your monitor disk into a system disk, by using the command
FORMAT A: /U /S.
Then move your AUTOEXEC.BAT and CONFIG.SYS on the monitor disk and as
last lines of AUTOEXEC.BAT use:
C:
CD \DXHUNTER
TIMER...and so on
Finally note that timer can be combined in batch files with the WAIT
program. For details see TCP&TIPS.TXT.
THE DXHUNTER: THE SOFT WAY OF HUNTING!!!.
TIMER.TXT page 3